package cn.edu.sctu.sctu_lysd.biz;


import android.widget.EditText;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;
import cn.edu.sctu.sctu_lysd.bean.TouristMessageBean;

/**
 * Created by wangfuxin on 2017-04-06.
 */

public interface TouristMessageBiz {

     interface Presenter extends BasePresenter {


         /**
          * 得到一个EditText的内容
          * @param view
          * @return
          */
         String getInputSting(EditText view);

         void uploadMessage(TouristMessageBean touristMessageBean);
         void cancel();

    }

     interface TouristMessageView extends BaseView<TouristMessageBiz.Presenter> {


         void uploadSuccess();
         void uploadFailed();

    }

}
